package com.lz.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**@装潢类型表
 * @author 徐建林
 * @date 2018/10/21 14:20
 */
@Entity
@Table
@Data
public class UpholsteryType implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 3526121309659311560L;
    @Id
    @GeneratedValue(generator = "native")
    @GenericGenerator(name = "native",strategy = "native")

    /**装潢类编号*/
    private Integer ecorationNo;
    /**装潢代码*/
    private String decorationCode;
    /**装潢项目名称*/
    private String upholsteryType;
    /**标准工时*/
    private Double decorationHours;
}
